// Vuex
import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex);

export default new Vuex.Store({
    state: {
        indexStatus: 0 // 首页轮播的下标
    },
    mutations: {
        setIndexStatus(state, ops) {
            console.log('321===' + ops)
            state.indexStatus = ops;
        }
    }
});